/*
 * Sycloud.com Inc.
 * Copyright (c) 2005-2066 All Rights Reserved.
 */
package com.insigma.business.qrcode.welfare._consumer;



import com.insigma.business.qrcode.common.template.BasePagingResponse;
import com.insigma.business.qrcode.common.vo.BaseDeleteRequest;
import com.insigma.business.qrcode.common.vo.BaseResponse;
import com.insigma.business.qrcode.soldier.request.BaseGetRequest;
import com.insigma.business.qrcode.welfare.dto.CareWelfareServiceOrganizationDTO;
import com.insigma.business.qrcode.welfare.request.CareWelfareServiceOrganizationInsertRequest;
import com.insigma.business.qrcode.welfare.request.CareWelfareServiceOrganizationSearchRequest;
import com.insigma.business.qrcode.welfare.request.CareWelfareServiceOrganizationUpdateRequest;

import java.util.List;

/**
 * @author juffett
 * @version $Id: CareWelfareServiceOrganizationConsumer.java, v 1.0.0 2021-9-9 14:45:13 juffett Exp $
 */
public interface CareWelfareServiceOrganizationConsumer {

   /**
    * 查询数据列表
    *
    * @param searchRequest
    * @return
    */
    BasePagingResponse<List<CareWelfareServiceOrganizationDTO>> searchCareWelfareServiceOrganization(final CareWelfareServiceOrganizationSearchRequest searchRequest);

   /**
    * 得到合法的非逻辑删除对象
    *
    * @param baseGetRequest
    * @return
    */
    BaseResponse<CareWelfareServiceOrganizationDTO> getCareWelfareServiceOrganization(final BaseGetRequest baseGetRequest);

    /**
     * 插入数据
     *
     * @param insertRequest
     * @return
     */
    BaseResponse<String> insertCareWelfareServiceOrganization(final CareWelfareServiceOrganizationInsertRequest insertRequest);

    /**
     * 更新数据
     *
     * @param updateRequest
     * @return
     */
    BaseResponse<Integer> updateCareWelfareServiceOrganization(final CareWelfareServiceOrganizationUpdateRequest updateRequest);

    /**
     * 删除数据
     *
     * @param deleteRequest
     * @return
     */
    BaseResponse<Integer> deleteCareWelfareServiceOrganization(final BaseDeleteRequest deleteRequest);

    /**
     * 发布和取消发布
     * @param request
     * @return
     */
    BaseResponse<Integer> publishOrg(CareWelfareServiceOrganizationUpdateRequest request);

}
